package com.ruoyi.errorLib.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import com.ruoyi.paper.domain.ExamOption;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.List;

/**
 * 错题本实体类
 */

public class ErrorQuestion extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 错题ID */
    private String errorId;

    /** 学生ID */
    @Excel(name = "学生ID")
    private String studentId;

    /** 用户ID */
    @Excel(name = "用户ID")
    private Long userId;

    /** 试题ID */
    @Excel(name = "试题ID")
    private String questionId;

    /** 题干 */
    @Excel(name = "题干")
    private String questionContent;

    /** 题型 */
    @Excel(name = "题型")
    private String questionType;

    /** 我的答案 */
    @Excel(name = "我的答案")
    private String myAnswer;

    /** 正确答案 */
    @Excel(name = "正确答案")
    private String correctAnswer;

    /** 练习次数 */
    @Excel(name = "练习次数")
    private Integer practiceCount;

    /** 错误次数 */
    @Excel(name = "错误次数")
    private Integer errorCount;

    private List<ExamOption> options;

    public String getErrorId() {
        return errorId;
    }

    public void setErrorId(String errorId) {
        this.errorId = errorId;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getQuestionId() {
        return questionId;
    }

    public void setQuestionId(String questionId) {
        this.questionId = questionId;
    }

    public String getQuestionContent() {
        return questionContent;
    }

    public void setQuestionContent(String questionContent) {
        this.questionContent = questionContent;
    }

    public String getQuestionType() {
        return questionType;
    }

    public void setQuestionType(String questionType) {
        this.questionType = questionType;
    }

    public String getMyAnswer() {
        return myAnswer;
    }

    public void setMyAnswer(String myAnswer) {
        this.myAnswer = myAnswer;
    }

    public String getCorrectAnswer() {
        return correctAnswer;
    }

    public void setCorrectAnswer(String correctAnswer) {
        this.correctAnswer = correctAnswer;
    }

    public Integer getPracticeCount() {
        return practiceCount;
    }

    public void setPracticeCount(Integer practiceCount) {
        this.practiceCount = practiceCount;
    }

    public Integer getErrorCount() {
        return errorCount;
    }

    public void setErrorCount(Integer errorCount) {
        this.errorCount = errorCount;
    }

    public List<ExamOption> getOptions() {
        return options;
    }

    public void setOptions(List<ExamOption> options) {
        this.options = options;
    }
}